package s2elinshu;

import java.util.Scanner;

public class J24Professor {
	public static void main(String[] args) {
		J24ProfessorService ps = new J24ProfessorServiceImpl();
		Scanner sc = new Scanner(System.in);
		
		switch(sc.nextInt()){
		case 1:  ps.newProfessor(); break;
		case 2:   ps.readProfessor(); break;
		case 3:  ps.readOneProfessor(); break;
		case 4:   ps.modifyProfessor(); break;
		case 5:   ps.removeProfessor(); break;
		case 0 : sc.close();System.exit(0); break;
		default : System.out.println("올바르지 않은 선택입니다.");;
		}
		 
		
	}  // main
}  // class




